<div class="pageContent">
    <div class="pageFormContent" layoutH="56">
        <div class="panel">
            <h1>佣金结算详情[<a href="{:U('Settle/down_xls?settle_id='.$datainfo['settle_id'])}">下载</a>]</h1>
            <div>
                <div class="unit">
                    <label>
                        结算月份:
                    </label>
                    <span class="unit_span">{$datainfo.year}年{$datainfo.month}月</span>
                </div>
                <div class="unit">
                    <label>
                        总佣金:
                    </label>
                    <span class="unit_span">{$datainfo.fee}元</span>
                </div>
                <div class="unit">
                    <label>
                        结算状态:
                    </label>
                    <span class="unit_span">
                        <eq name="datainfo.is_settled" value="0">
                            未结算<else/>已结算
                        </eq>
                    </span>
                </div>
                <div class="unit">
                    <label>
                        结算时间:
                    </label>
                    <span class="unit_span">
                        <eq name="datainfo.is_settled" value="1">
                            {$datainfo.settled|date="Y-m-d H:i:s",###}<else/>-
                        </eq>
                    </span>
                </div>
                <div class="unit">
                    <label>
                        下载:
                    </label>
                    <span class="unit_span"><a href="{:U('Settle/down_xls?settle_id='.$datainfo['settle_id'])}">点击下载</a></span>
                </div>
            </div>
        </div>
        <div class="divider">
        </div>
        <div class="panel">
            <h1>佣金明细表</h1>
            <div>
                <table class="table" layouth="60" width="90%">
                    <thead>
                        <tr>
                            <th>
                                联盟会员 
                            </th>
                            <th>
                                姓名 
                            </th>
                            <th>
                                联系电话/手机
                            </th>
                            <th>
                                结算方式
                            </th>
                            <th>
                                结算帐号
                            </th>
                            <th>
                                佣金
                            </th>
							  <th>
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <volist name="datainfo.divide" id="vo">
                            <tr id="list_{$vo[$_mpk]}" target="sid_<?=$Think.MODULE_NAME ?>" rel="{$vo[$_mpk]}">
                                <td>
                                    {$vo.dmember_name}
                                </td>
                                <td>
                                    {$vo.realname}
									<empty name="vo.realname">-</empty>
                                </td>
                                <td>
                                    {$vo.tel}
									<empty name="vo.tel">-</empty>
                                </td>
                                <td>
                                    {$vo.pay_type}
									<empty name="vo.pay_type">-</empty>
                                </td>
                                <td>
                                    {$vo.pay_card}
									<empty name="vo.pay_card">-</empty>
                                </td>
                                <td>
                                    {$vo.fee}
                                </td>
								<td>
                                     <a href="{:U('divide')}" target="ajaxTodo" callback="doAjaxDone" title="确定要结算吗?" data="divide_id={$vo['divide_id']}" class="tbutton">结算</a>
                                </td>
                            </tr>
                        </volist>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="formBar">
    <ul>
        <li>
            <div class="button">
                <div class="buttonContent">
                    <button type="button" class="close">
                        关闭
                    </button>
                </div>
            </div>
        </li>
    </ul>
</div>
